package com.webproject.core.service.impl;

import com.webproject.core.dao.UserMapper;
import com.webproject.core.model.User;
import com.webproject.core.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * UserService实现 标准
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUserById(String userId) {
        return userMapper.findUserById(userId);
    }
}
